<?php $answer = getAnswerInfo($vo['id']);
  $isToMember = false;
  if($vo['parent']==0 && intval($vo['user_id'])>0 ){

  //发送给会员的消息
    $isToMember = true;
  }
  if($isToMember == false){
?>
<include file="Public:header" />
<div id="main" class="main" >
<div class="content">
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor.js"></script> 
<script type="text/javascript"> 
    KE.show({ 
        id : 'content_1' //TEXTAREA输入框的ID 
   }); 
</script> 
<div class="title">查看信息 [ <a href="javascript:history.back()">返回列表</a> ]
    <notempty name="answer">
<b style="margin-left:10px;">操作人</b>：{$vo.user_id|getAnswerInfo=id|getModelName=User,nickname}
</notempty>
</div>
<div class="fRig"><neq name="vo.image" value=''><img src="__PUBLIC__/Uploads/{$vo.image}"  width="160" height="120" style="border:1px solid silver;padding:1px" /></neq></div>
<div id="result" class="result none"></div>
<form method='post' id="form1" name="form1" action="__URL__/<empty name='answer' value=''>insert<else/>update</empty>"  enctype="multipart/form-data">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" width="10%">会员：</td>
	<td class="tLeft" >
    <eq name="_REQUEST.return" value="home">
            <input type="hidden" name="jumpUrl" value="__APP__/Public/main">
        </eq> 
            <a href="__APP__/Member/edit/id/{$vo.member_id}" target="_blank">{$vo.member_id|getModelName=Member}</a>
        </td>
</tr>

<tr>
	<td class="tRight" width="10%">相关产品：</td>
	<td class="tLeft" >{$vo.pid|getPName=$vo['type']}</td>
</tr>

<tr>
	<td class="tRight tTop">内容：</td>
	<td>{$vo.content}
	</td>
</tr>
<tr><td colspan="2"><font style="color:green;font-weight: bold;font-size: 14px;">回复：</font></td></tr>
<tr> 
	<td class="tRight tTop">内容：</td>
	<td>
            <textarea id="content_1" name="content" style="width:700px;height:300px;">{$vo.id|getAnswerInfo}</textarea>
	</td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<input type="hidden" name="parent" value="{$vo.id}">
        <notempty name="answer"><input type="hidden" name="id" value="{$vo.id|getAnswerInfo=id}"></notempty>
        <input type="hidden" name="approved" value="2">
        <input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>">
	<input type="submit" value="回 复" class="button medium">
	</div></td>
</tr>
</table>
</form>
</div>
</div>
<?php }
else {
?>
    <include file="msgdetail" />
<?php } ?>